package com.example.springDataJPA.JPA_SimpleUse;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * <pre>
 * 功能描述：
 * </pre>
 *
 * @author: 李明杰
 * @date: 2023/6/1 19:21
 */
@Data
@Entity
public class Employee {

    @Id
    private Long id;
    private String lastName;
    private String email;
    private String birth;
    private Long departmentId;
    private Long gender;
}
